package com.entrogy.service.impl;

import com.entrogy.bean.ProvinceEntity;
import com.entrogy.dao.ProvinceMapper;
import com.entrogy.service.ProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProvinceServiceImpl implements ProvinceService {
	@Autowired
	private ProvinceMapper provinceMapper;
	@Override
	public List<ProvinceEntity> getCityByProvince(int provinceId) {
		return provinceMapper.getCityByProvince(provinceId);
	}
}
